var express = require('express');
var jwt = require('jsonwebtoken');
var URL = require('url');
var router = express.Router();

router.get('/', function (req, res) {
    delete req.session.user;
    return res.redirect('/');
});

module.exports = router;